configure: make missing prototypes an error always
authorColin Walters <walters@verbum.org>
Fri, 21 Oct 2011 15:27:40 +0000 (11:27 -0400)
committerColin Walters <walters@verbum.org>
Fri, 21 Oct 2011 15:27:40 +0000 (11:27 -0400)
configure.ac

index f817b192b51a4ccf81737af7a9008fa3a63d148c..c1e5eb5362af11ad1d8f172d9a639de83a3c7722 100644 (file)
@@ -18,8 +18,8 @@ if test "x$GCC" = "xyes"; then
   *) CFLAGS="$CFLAGS -Wall" ;;
   esac
   case " $CFLAGS " in
-  *[\ \        ]-Wmissing-prototypes[\ \       ]*) ;;
-  *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
+  *[\ \        ]-Werror=missing-prototypes[\ \ ]*) ;;
+  *) CFLAGS="$CFLAGS -Werror=missing-prototypes" ;;
   esac
 fi
 changequote([,])dnl